#10 Fixed pagination wrapping on small screens by re-adding the resize-directive

#10