Reverse Scrolling

I'm having trouble finding a solution to what I'm trying to accomplish. I am trying to use JS (or additional libraries) to make it so that when the user scrolls down on the mousewheel the page scrolls the opposite way than it normally would.

Basically, I want the bottom of the page to be seen first and as the user scrolls I want the top of the screen to come down into view. The only example I've been able to find is the right column of

I've set up a JSFiddle with an example to help visualize it. I know it might have something to do with:


but honestly, I'm not sure of the best way to go about this.

I want the panel labeled '1' to be seen first, and the rest to come down into view as the user scrolls.

Any ideas on how this could be done would be greatly appreciated.




here is the solution -


var winHeight = $(window).innerHeight();
$(document).ready(function () {

window.addEventListener('resize', function (event) {


    <div class="panelCon"> 
    <div id="pane-5" class="panel">
    <div id="pane-4"class="panel">
    <div id="pane-3"class="panel">
    <div id="pane-2" class="panel">
    <div id="pane-1" class="panel">


body {
    margin: 0;
    padding: 0;
    position: fixed;
    bottom: 0;
    width: 100%;
.panel {
    width: 100%;
.panel h1 {
    width: 100px;
    position: relative;
    display: block;
    margin: 0 auto;
    text-align: center;
    top: 50%;
#pane-1 {
    background-color: green;
#pane-2 {
    background-color: red;
#pane-3 {
    background-color: white;
#pane-4 {
    background-color: pink;
#pane-5 {
    background-color: yellow;


Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.