Created basic load/resize adaptive scripts for right rail.

These scripts allow the right rail to be set at a percentage of the
width of the window, currently 20%, onload and when the window is
resized. This percentage is a global variable which can be easily
changed.