fix listFiles function

it did not list all files for obscure reason...

Signed-off-by:Eric Villard <dev@eviweb.fr>
Merge pull request #3 from eviweb/fix-listfiles

[BUGFIX] fix listFiles function
prevent from page scrolling up on click

Signed-off-by:Eric Villard <dev@eviweb.fr>
Merge pull request #4 from eviweb/stopscrollup

improvement : prevent from page scrolling up on click