Fixes and tweaking

- Fixed items not loading properly when you had less items than selected
per page, this also applied to loadmore and should be fixed.
- Fixed the button action not changing appropriately
- Changed the background fading to black and you can no longer click
items behind it.
- Updated JQuery to 2.1.3
- Added and tweaked some code that was used often but not in a function.